package com.ruoyi.consultation.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.labdata.domain.LabFile;

/**
 * 信息咨询对象 lab_consultation_info
 * 
 * @author winner pan
 * @date 2022-03-28
 */
public class LabConsultationInfo extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long consultationId;

	/** 资讯名称 */
	@Excel(name = "资讯名称")
	private String title;

	/** 资讯栏目 */
	@Excel(name = "资讯栏目")
	private Long subjectId;

	private String subjectName;
	
	private String publishStatusOpt;
	
	private List<LabFile> images;
	

	public List<LabFile> getImages() {
		return images;
	}

	public void setImages(List<LabFile> images) {
		this.images = images;
	}

	public String getPublishStatusOpt() {
		return publishStatusOpt;
	}

	public void setPublishStatusOpt(String publishStatusOpt) {
		this.publishStatusOpt = publishStatusOpt;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	/** 资讯内容 */
	private String content;

	/** 咨询状态 */
	@Excel(name = "咨询状态")
	private Long statusOpt;

	/** 显示顺序 */
	@Excel(name = "显示顺序")
	private Long sortNo;

	public void setConsultationId(Long consultationId) {
		this.consultationId = consultationId;
	}

	public Long getConsultationId() {
		return consultationId;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public Long getSubjectId() {
		return subjectId;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setStatusOpt(Long statusOpt) {
		this.statusOpt = statusOpt;
	}

	public Long getStatusOpt() {
		return statusOpt;
	}

	public void setSortNo(Long sortNo) {
		this.sortNo = sortNo;
	}

	public Long getSortNo() {
		return sortNo;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("consultationId", getConsultationId())
				.append("title", getTitle()).append("subjectId", getSubjectId()).append("content", getContent())
				.append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("statusOpt", getStatusOpt()).append("sortNo", getSortNo()).toString();
	}
}
